package safari.model.member;

import org.springframework.web.multipart.MultipartFile;

public class MemberVO {
	private String id;
	private String password;
	private String name;
	private String address;
	private int birthday;
	private String gender;
	private String cellphone;
	private String email;
	private String grade;
	private int point;
	private String orgFileName;
	private String saveFileName;
	private MultipartFile uploadFile;
	
	public MemberVO(String id, String password, String name, String address,
			int birthday, String gender, String cellphone, String email,
			String grade, int point, String orgFileName, String saveFileName) {
		super();
		this.id = id;
		this.password = password;
		this.name = name;
		this.address = address;
		this.birthday = birthday;
		this.gender = gender;
		this.cellphone = cellphone;
		this.email = email;
		this.grade = grade;
		this.point = point;
		this.orgFileName = orgFileName;
		this.saveFileName = saveFileName;
	}
	
	public MemberVO(String id, String name, String email) {
		super();
		this.id = id;
		this.name = name;
		this.email = email;
	}

	public MemberVO() {
		super();
		// TODO Auto-generated constructor stub
	}
	public MemberVO(String id) {
		super();
		this.id=id;
		// TODO Auto-generated constructor stub
	}
	public MemberVO(String id, String password, String name, String address,
			int birthday, String gender, String cellphone, String email,
			String grade, int point) {
		super();
		this.id = id;
		this.password = password;
		this.name = name;
		this.address = address;
		this.birthday = birthday;
		this.gender = gender;
		this.cellphone = cellphone;
		this.email = email;
		this.grade = grade;
		this.point = point;
	}
	
	public MemberVO(String id, String password, String name, String address,
			int birthday, String gender, String cellphone, String email,
			String grade, int point, String orgFileName, String saveFileName,
			MultipartFile uploadFile) {
		super();
		this.id = id;
		this.password = password;
		this.name = name;
		this.address = address;
		this.birthday = birthday;
		this.gender = gender;
		this.cellphone = cellphone;
		this.email = email;
		this.grade = grade;
		this.point = point;
		this.orgFileName = orgFileName;
		this.saveFileName = saveFileName;
		this.uploadFile = uploadFile;
	}
	
	public String getOrgFileName() {
		return orgFileName;
	}
	public void setOrgFileName(String orgFileName) {
		this.orgFileName = orgFileName;
	}
	public String getSaveFileName() {
		return saveFileName;
	}
	public void setSaveFileName(String saveFileName) {
		this.saveFileName = saveFileName;
	}
	public MultipartFile getUploadFile() {
		return uploadFile;
	}
	public void setUploadFile(MultipartFile uploadFile) {
		this.uploadFile = uploadFile;
	}
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getAddress() {
		return address;
	}
	public void setAddress(String address) {
		this.address = address;
	}
	public int getBirthday() {
		return birthday;
	}
	public void setBirthday(int birthday) {
		this.birthday = birthday;
	}
	public String getGender() {
		return gender;
	}
	public void setGender(String gender) {
		this.gender = gender;
	}
	public String getCellphone() {
		return cellphone;
	}
	public void setCellphone(String cellphone) {
		this.cellphone = cellphone;
	}
	public String getEmail() {
		return email;
	}
	public void setEmail(String email) {
		this.email = email;
	}
	public String getGrade() {
		return grade;
	}
	public void setGrade(String grade) {
		this.grade = grade;
	}
	public int getPoint() {
		return point;
	}
	public void setPoint(int point) {
		this.point = point;
	}
	
	@Override
	public String toString() {
		return "MemberVO [id=" + id + ", password=" + password + ", name="
				+ name + ", address=" + address + ", birthday=" + birthday
				+ ", gender=" + gender + ", cellphone=" + cellphone
				+ ", email=" + email + ", grade=" + grade + ", point=" + point
				+ ", orgFileName=" + orgFileName + ", saveFileName="
				+ saveFileName + ", uploadFile=" + uploadFile + "]";
	}
	public MemberVO(String id, String password) {
		super();
		this.id = id;
		this.password = password;
	}
	
	
}
